import 'package:lovify/models/role.dart';

import 'base_service.dart';

class RoleService extends BaseService<Role> {
  RoleService()
      : super(
          endpoint: '/role',
          toJson: (role) => role.toJson(),
          fromJson: (json) => Role.fromJson(json as Map<String, dynamic>),
        );
}
